
import request from '@/utils/request'

export function listDeviceBuy(query) {
  return request({
    url: '/system/deviceBuy/list',
    method: 'get',
    params: query
  })
}
export function listSelect(query) {
  return request({
    url: '/system/deviceBuy/listSelect',
    method: 'get',
    params: query
  })
}
export function delDeviceBuy(compFeeIds) {
  return request({
    url: '/system/deviceBuy/' + compFeeIds,
    method: 'delete'
  })
}

export function deviceBuyAdd(data) {
  return request({
    url: '/system/deviceBuy',
    method: 'post',
    data: data
  })
}
export function updategdeviceBuy(data) {
  return request({
    url: '/system/deviceBuy',
    method: 'put',
    data: data
  })
}
export function deviceBuyInfo(query) {
  return request({
    url: '/system/deviceBuy/' + query,
    method: 'get',
  })
}
export function updateCheckdeviceBuy(data) {
  return request({
    url: '/system/deviceBuy/updateBuy',
    method: 'put',
    data: data
  })
}
